package com.yituo.mjworld.mvc.form;

import com.yituo.mjworld.core.annotation.Rules;

/**
 * 搜索表单的支持
 */
public class SearchForm extends QueryForm {
  @Rules(fieldName = "查询的内容")
  public String key;

  public String getKey() {
    return key;
  }

  public void setKey(String key) {
    this.key = key;
  }

  @Override
  public boolean validate() {
    return defaultValidate();
  }
}
